home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
User's Choice Windows CD
/
User's Choice Windows CD (CMS Software)(1993).iso
/
windows5
/
winrcs.zip
/
RCSRUN.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-09-09
|
1KB
|
41 lines
@echo off
rem
rem RCSRUN.BAT -- Synchronous DOS session batch file for running RCS commands
rem from RCS Shell for Windows
rem
rem Copyright (c) 1992 CustomLogic
rem All rights reserved
rem Proprietary information
rem
rem Written by Jon E. Marinello
rem
rem *** DO NOT MODIFY THIS FILE ***
rem
rem %1 CON: send output to console, otherwise send output to %1
rem %2 CON: input read from console, otherwise read from %2
rem %3 Contains program name to run
rem %4-%9 Any parameters to %3
rem
if "%1" == "CON:" goto ConOut
if "%1" == "con:" goto ConOut
echo Output routed to [%1].
if "%2" == "CON:" goto ConIn1
if "%2" == "con:" goto ConIn1
call %3 %4 %5 %6 %7 %8 %9 < %2 > %1
goto RemSem
:ConIn1
call %3 %4 %5 %6 %7 %8 %9 > %1
goto RemSem
:ConOut
if "%2" == "CON:" goto ConIn2
if "%2" == "con:" goto ConIn2
call %3 %4 %5 %6 %7 %8 %9 < %2
goto RemSem
:ConIn2
call %3 %4 %5 %6 %7 %8 %9
goto RemSem
:RemSem
if Exist C:\_WINRCS.WAT pause
del C:\_WINRCS.SEM
if Exist C:\_WINRCS.WAT del C:\_WINRCS.WAT